From aa352168c9815a604b2130c48bb857bf322fe17d Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Mon, 4 Jan 2016 15:09:14 +0800 Subject: [PATCH] config.h.win32.in: Update for _lock_file() The Visual Studio versions that we support supports locking functions in their CRT, so support that to optimize things a bit. Also update the config.h.win32.in so that its entries are more in line with the ones in the autootols builds, and make sure that we use UNIX line endings. --- config.h.win32.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config.h.win32.in b/config.h.win32.in index 34f05c25db..8269db73e2 100644 --- a/config.h.win32.in +++ b/config.h.win32.in @@ -50,6 +50,9 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_DLFCN_H */ +/* Define to 1 if you have the `flockfile' function. */ +#undef HAVE_FLOCKFILE + /* Define to 1 if you have the header file. */ /* #undef HAVE_FTW_H */ @@ -230,6 +233,9 @@ /* Have the SYNC extension library */ /* #undef HAVE_XSYNC */ +/* Define to 1 if you have the `_lock_file' function. */ +#define HAVE__LOCK_FILE + /* Define if _NL_MEASUREMENT_MEASUREMENT is available */ /* #undef HAVE__NL_MEASUREMENT_MEASUREMENT */ @@ -304,7 +310,7 @@ /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ -/* defines how to decorate public symbols while building */ +/* defines how to decorate public symbols while building */ #ifdef _MSC_VER #define _GDK_EXTERN __declspec (dllexport) extern #else -- 2.30.2